package org.ithasu.tools;

public class ObjectTools {

	private ObjectTools() {
	}

	// -- Objects ----------------------------------------

	public static boolean equalsOrBothNull(Object o1, Object o2) {
		if (o1 == null && o2 == null) {
			return true;
		} else {
			return o1 == o2 || o1.equals(o2);
		}
	}

}
